gridpack::component::GenMatVecInterface Class Reference
#include <base_component.hpp>
List of all members.
Public Member Functions |
| GenMatVecInterface (void) |
virtual | ~GenMatVecInterface (void) |
virtual int | matrixNumRows () const |
virtual int | matrixNumCols () const |
virtual void | matrixSetRowIndex (int irow, int idx) |
virtual void | matrixSetColIndex (int icol, int idx) |
virtual int | matrixGetRowIndex (int irow) |
virtual int | matrixGetColIndex (int icol) |
virtual int | matrixNumValues () const |
virtual void | matrixGetValues (ComplexType *values, int *rows, int *cols) |
virtual void | matrixGetValues (RealType *values, int *rows, int *cols) |
virtual int | vectorNumElements () const |
virtual void | vectorSetElementIndex (int ielem, int idx) |
virtual void | vectorGetElementIndices (int *idx) |
virtual void | vectorGetElementValues (ComplexType *values, int *idx) |
virtual void | vectorGetElementValues (RealType *values, int *idx) |
virtual void | vectorSetElementValues (ComplexType *values) |
virtual void | vectorSetElementValues (RealType *values) |
virtual void | slabSize (int *rows, int *cols) const |
virtual void | slabSetRowIndex (int irow, int idx) |
virtual void | slabGetRowIndices (int *idx) |
virtual void | slabGetValues (std::vector< ComplexType * > &values, int *idx) |
virtual void | slabGetValues (std::vector< RealType * > &values, int *idx) |
virtual void | slabSetValues (ComplexType **values) |
virtual void | slabSetValues (RealType **values) |
Constructor & Destructor Documentation
gridpack::component::GenMatVecInterface::GenMatVecInterface |
( |
void |
|
) |
|
virtual gridpack::component::GenMatVecInterface::~GenMatVecInterface |
( |
void |
|
) |
[virtual] |
Member Function Documentation
virtual int gridpack::component::GenMatVecInterface::matrixGetColIndex |
( |
int |
icol |
) |
[virtual] |
virtual int gridpack::component::GenMatVecInterface::matrixGetRowIndex |
( |
int |
irow |
) |
[virtual] |
virtual void gridpack::component::GenMatVecInterface::matrixGetValues |
( |
RealType * |
values, |
|
|
int * |
rows, |
|
|
int * |
cols | |
|
) |
| | [virtual] |
virtual void gridpack::component::GenMatVecInterface::matrixGetValues |
( |
ComplexType * |
values, |
|
|
int * |
rows, |
|
|
int * |
cols | |
|
) |
| | [virtual] |
virtual int gridpack::component::GenMatVecInterface::matrixNumCols |
( |
|
) |
const [virtual] |
virtual int gridpack::component::GenMatVecInterface::matrixNumRows |
( |
|
) |
const [virtual] |
virtual int gridpack::component::GenMatVecInterface::matrixNumValues |
( |
|
) |
const [virtual] |
virtual void gridpack::component::GenMatVecInterface::matrixSetColIndex |
( |
int |
icol, |
|
|
int |
idx | |
|
) |
| | [virtual] |
virtual void gridpack::component::GenMatVecInterface::matrixSetRowIndex |
( |
int |
irow, |
|
|
int |
idx | |
|
) |
| | [virtual] |
virtual void gridpack::component::GenMatVecInterface::slabGetRowIndices |
( |
int * |
idx |
) |
[virtual] |
Get list of row indices from component
- Parameters:
-
| idx | list of row indices that component maps onto |
virtual void gridpack::component::GenMatVecInterface::slabGetValues |
( |
std::vector< RealType * > & |
values, |
|
|
int * |
idx | |
|
) |
| | [virtual] |
virtual void gridpack::component::GenMatVecInterface::slabGetValues |
( |
std::vector< ComplexType * > & |
values, |
|
|
int * |
idx | |
|
) |
| | [virtual] |
Get a list of row values contributed by this component and their indices
- Parameters:
-
| values | list of values for rows |
| idx | indices for the matrix rows |
virtual void gridpack::component::GenMatVecInterface::slabSetRowIndex |
( |
int |
irow, |
|
|
int |
idx | |
|
) |
| | [virtual] |
Set indices corresponding to the rows contributed by this component
- Parameters:
-
| irow | index of row contributed by this component (e.g. if component contributes 3 rows then irow is between 0 and 2) |
| idx | row index of row irow |
virtual void gridpack::component::GenMatVecInterface::slabSetValues |
( |
RealType ** |
values |
) |
[virtual] |
virtual void gridpack::component::GenMatVecInterface::slabSetValues |
( |
ComplexType ** |
values |
) |
[virtual] |
Transfer slab values to component
- Parameters:
-
| values | list of slab values |
virtual void gridpack::component::GenMatVecInterface::slabSize |
( |
int * |
rows, |
|
|
int * |
cols | |
|
) |
| | const [virtual] |
Return number of rows and columns in matrix from component Number of columns must be the same for all components
- Returns:
- size of block contributed by component
virtual void gridpack::component::GenMatVecInterface::vectorGetElementIndices |
( |
int * |
idx |
) |
[virtual] |
virtual void gridpack::component::GenMatVecInterface::vectorGetElementValues |
( |
RealType * |
values, |
|
|
int * |
idx | |
|
) |
| | [virtual] |
virtual void gridpack::component::GenMatVecInterface::vectorGetElementValues |
( |
ComplexType * |
values, |
|
|
int * |
idx | |
|
) |
| | [virtual] |
virtual int gridpack::component::GenMatVecInterface::vectorNumElements |
( |
|
) |
const [virtual] |
virtual void gridpack::component::GenMatVecInterface::vectorSetElementIndex |
( |
int |
ielem, |
|
|
int |
idx | |
|
) |
| | [virtual] |
virtual void gridpack::component::GenMatVecInterface::vectorSetElementValues |
( |
RealType * |
values |
) |
[virtual] |
virtual void gridpack::component::GenMatVecInterface::vectorSetElementValues |
( |
ComplexType * |
values |
) |
[virtual] |
The documentation for this class was generated from the following file: